from django.test import TestCase

# # Create your tests here.
# import json
# data = {
#     'name' : 'myname',
#     'age' : 100,
# }
# json_str = json.dumps(data)
# print(type(json_str))
# data = json.loads(json_str)
# print(type(data['age']))
#
#
# import socket
# # 函数 gethostname() 返回当前正在执行 Python 的系统主机名
# res = socket.gethostbyname(socket.gethostname())
# print("redis://"+res+":6379")

from datetime import datetime
from time import sleep


